<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="/commons/jsp/taglibs.jsp"%>
 <head>
	<title>公共平台 </title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<style type="text/css">
		.tdCss{border:solid #add9c0; border-width:0px 1px 1px 0px;height: 30px;}
		.tableCss{border:solid #add9c0; border-width:1px 0px 0px 1px;width: 100%;}
	</style>
	<!-- 样式文件的引入 -->
	<script type="text/javascript" src="${ctx}/commons/js/jquery-1.8.0.min.js"></script>
</head>

<body style="width: 1040px;margin: 0 auto;font-size: 24px;">
 <div style="width: 100%;text-align: right;height: 40px;"><input type="button" style="height: 30px;width: 80px;" value="打印" onclick="doPrint();"/></div>
  <!--startprint-->
 	 <div>
    	
    	<div style="font-size: 50px;font-weight: 900;text-align: center;padding-top: 10px;">合肥市包河区公共资源交易中心</div></br></br>
    	<div style="font-size: 40px;font-weight: 900;text-align: center;padding-top: 10px;">评审小组成员、监督员信息表</div>
    </div>
<div style="width:1040px;margin: 0px auto;"> 
	<div id="top" style="width: 100%;">
		<table width="1040px;" border="0px solid black;">
			<tr style="height: 50px;">
				<td width="33%;"><font style="font-size: 24px">项目名称：${professerInfo.projName}</font></td>
				<td width="33%;"><font style="font-size: 24px">项目编号：${professerInfo.projCode}</font></td>
				<td width="33%;"><font style="font-size: 24px">日期：${professerInfo.time}</font></td>
			</tr>
		</table>
	</div>
	<div id="center" style="padding-top: 10px;padding-bottom: 10px;">
		<table cellpadding="0" cellspacing="0" class="tableCss">
			<tbody>
			<tr height="50px;">
				<th class="tdCss" >序号</th>
				<th class="tdCss" >姓名</th>
				<th class="tdCss">单位</th>
				<th class="tdCss">职务/职称</th>
				<th class="tdCss">联系方式</th>
				<th class="tdCss" width="150px;">签名</th>
				</tr>
				<c:forEach items="${professerInfo.professers}" var="professer" varStatus="status">
					<tr height="50px;">
						<td  height="30px;" align="center" class="tdCss">${status.index + 1}
						</td>
						<td  align="center" class="tdCss">${professer.name}
						</td>
						<td  align="center" class="tdCss">${professer.dept_name}
						</td>
						<td  align="center" class="tdCss">${professer.title}
						</td>
						<td  align="center" class="tdCss">${professer.tel}
						</td>
						<td  align="center" class="tdCss">&nbsp;
						</td>
					<c:if test="${status.index + 1 > 0}">
						<tr></tr>
					</c:if>
					</tr>
				</c:forEach>			
			</tbody>
		</table>
	</div>
	
</div>
<script type="text/javascript">


function doPrint() { 
	bdhtml=window.document.body.innerHTML; 
	sprnstr="<!--startprint-->"; 
	eprnstr="<!--endprint-->"; 
	prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17); 
	prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr)); 
	window.document.body.innerHTML=prnhtml; 
	pagesetup_null();
	window.print(); 
}
function pagesetup_null(){
	var hkey_root,hkey_path,hkey_key
	hkey_root="HKEY_CURRENT_USER"
	hkey_path="SoftwareMicrosoftInternet ExplorerPageSetup"
	try{
	var RegWsh = new ActiveXObject("WScript.Shell")
	hkey_key="header" 
	RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"")
	hkey_key="footer"
	RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"")
	}catch(e){}
}
</script>
</body>
</html>
